<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      /* 
      1. while (3); console.log("count", 3); i--;
      2. while (2); console.log("count", 2); i--;
      3. while (1); console.log("count", 1); i--;
      4. while (0); false;
      */
      let i = 3;
      while (i) {
        console.log("count", i);
        i--;
      }
    </script>
  </body>
</html>
